<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="merchantapi_issueresolution_v1.html">Merchant API</a> . <a href="merchantapi_issueresolution_v1.issueresolution.html">issueresolution</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#renderaccountissues">renderaccountissues(name, body=None, languageCode=None, timeZone=None, x__xgafv=None)</a></code></p>
<p class="firstline">Provide a list of business's account issues with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.</p>
<p class="toc_element">
  <code><a href="#renderproductissues">renderproductissues(name, body=None, languageCode=None, timeZone=None, x__xgafv=None)</a></code></p>
<p class="firstline">Provide a list of issues for business's product with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.</p>
<p class="toc_element">
  <code><a href="#triggeraction">triggeraction(name, body=None, languageCode=None, x__xgafv=None)</a></code></p>
<p class="firstline">Start an action. The action can be requested by a business in third-party application. Before the business can request the action, the third-party application needs to show them action specific content and display a user input form. The action can be successfully started only once all `required` inputs are provided. If any `required` input is missing, or invalid value was provided, the service will return 400 error. Validation errors will contain Ids for all problematic field together with translated, human readable error messages that can be shown to the user.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="renderaccountissues">renderaccountissues(name, body=None, languageCode=None, timeZone=None, x__xgafv=None)</code>
  <pre>Provide a list of business&#x27;s account issues with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.

Args:
  name: string, Required. The account to fetch issues for. Format: `accounts/{account}` (required)
  body: object, The request body.
    The object takes the form of:

{ # The payload for configuring how the content should be rendered.
  &quot;contentOption&quot;: &quot;A String&quot;, # Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.
  &quot;userInputActionOption&quot;: &quot;A String&quot;, # Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.
}

  languageCode: string, Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize issue resolution content. If not set, the result will be in default language `en-US`.
  timeZone: string, Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example &#x27;America/Los_Angeles&#x27;. If not set, results will use as a default UTC.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response containing an issue resolution content and actions for listed account issues.
  &quot;renderedIssues&quot;: [ # List of account issues for a given account. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.
    { # An issue affecting specific business or their product.
      &quot;actions&quot;: [ # A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when business disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to the business when they expand the issue.
        { # An actionable step that can be executed to solve the issue.
          &quot;builtinSimpleAction&quot;: { # Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue. # Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
            &quot;additionalContent&quot;: { # Long text from external source. # Long text from an external source that should be available to the business. Present when the type is `SHOW_ADDITIONAL_CONTENT`.
              &quot;paragraphs&quot;: [ # Long text organized into paragraphs.
                &quot;A String&quot;,
              ],
              &quot;title&quot;: &quot;A String&quot;, # Title of the additional content;
            },
            &quot;attributeCode&quot;: &quot;A String&quot;, # The attribute that needs to be updated. Present when the type is `EDIT_ITEM_ATTRIBUTE`. This field contains a code for attribute, represented in snake_case. You can find a list of product&#x27;s attributes, with their codes [here](https://support.google.com/merchants/answer/7052112).
            &quot;type&quot;: &quot;A String&quot;, # The type of action that represents a functionality that is expected to be available in third-party application.
          },
          &quot;builtinUserInputAction&quot;: { # Action that is implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business. They can start the action only when they provided all required inputs. The application will request processing of the action by calling the [triggeraction method](https://developers.google.com/merchant/api/reference/rest/issueresolution_v1/issueresolution/triggeraction). # Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
            &quot;actionContext&quot;: &quot;A String&quot;, # Contains the action&#x27;s context that must be included as part of the TriggerActionPayload.action_context in TriggerActionRequest.payload to call the `triggeraction` method. The content should be treated as opaque and must not be modified.
            &quot;flows&quot;: [ # Actions may provide multiple different flows. Business selects one that fits best to their intent. Selecting the flow is the first step in user&#x27;s interaction with the action. It affects what input fields will be available and required and also how the request will be processed.
              { # Flow that can be selected for an action. When a business selects a flow, application should open a dialog with more information and input form.
                &quot;dialogButtonLabel&quot;: &quot;A String&quot;, # Label for the button to trigger the action from the action dialog. For example: &quot;Request review&quot;
                &quot;dialogCallout&quot;: { # An important message that should be highlighted. Usually displayed as a banner. # Important message to be highlighted in the request dialog. For example: &quot;You can only request a review for disagreeing with this issue once. If it&#x27;s not approved, you&#x27;ll need to fix the issue and wait a few days before you can request another review.&quot;
                  &quot;fullMessage&quot;: { # Block of text that may contain a tooltip with more information. # A full message that needs to be shown to the business.
                    &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                    &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                    &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                  },
                  &quot;styleHint&quot;: &quot;A String&quot;, # Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to the business.
                },
                &quot;dialogMessage&quot;: { # Block of text that may contain a tooltip with more information. # Message displayed in the request dialog. For example: &quot;Make sure you&#x27;ve fixed all your country-specific issues. If not, you may have to wait 7 days to request another review&quot;. There may be an more information to be shown in a tooltip.
                  &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                  &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                  &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                },
                &quot;dialogTitle&quot;: &quot;A String&quot;, # Title of the request dialog. For example: &quot;Before you request a review&quot;
                &quot;id&quot;: &quot;A String&quot;, # Not for display but need to be sent back for the selected action flow.
                &quot;inputs&quot;: [ # A list of input fields.
                  { # Input field that needs to be available to the business. If the field is marked as required, then a value needs to be provided for a successful processing of the request.
                    &quot;checkboxInput&quot;: { # Checkbox input allows the business to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). If the business checks the box, the input value for the field is `true`, otherwise it is `false`. This type of input is often used as a confirmation that the business completed required steps before they are allowed to start the action. In such a case, the input field is marked as required and the button to trigger the action should stay disabled until the business checks the box. # Input field to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox).
                    },
                    &quot;choiceInput&quot;: { # Choice input allows the business to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the the business. For example, additional input field can be hidden or disabled until the business selects the specific choice. # Input field to select one of the offered choices. Corresponds to the [html input type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio).
                      &quot;options&quot;: [ # A list of choices. Only one option can be selected.
                        { # A choice that the business can select.
                          &quot;additionalInput&quot;: # Object with schema name: InputField # Input that should be displayed when this option is selected. The additional input will not contain a `ChoiceInput`.
                          &quot;id&quot;: &quot;A String&quot;, # Not for display but need to be sent back for the selected choice option.
                          &quot;label&quot;: { # Block of text that may contain a tooltip with more information. # Short description of the choice option. There may be more information to be shown as a tooltip.
                            &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                            &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                            &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                          },
                        },
                      ],
                    },
                    &quot;id&quot;: &quot;A String&quot;, # Not for display but need to be sent back for the given input field.
                    &quot;label&quot;: { # Block of text that may contain a tooltip with more information. # Input field label. There may be more information to be shown in a tooltip.
                      &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                      &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                      &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                    },
                    &quot;required&quot;: True or False, # Whether the field is required. The action button needs to stay disabled till values for all required fields are provided.
                    &quot;textInput&quot;: { # Text input allows the business to provide a text value. # Input field to provide text information. Corresponds to the [html input type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text) or [html textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea).
                      &quot;additionalInfo&quot;: { # Block of text that may contain a tooltip with more information. # Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
                        &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                        &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                        &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                      },
                      &quot;ariaLabel&quot;: &quot;A String&quot;, # Text to be used as the [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the input.
                      &quot;formatInfo&quot;: &quot;A String&quot;, # Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: &quot;VAT numbers should be in a format similar to SK9999999999&quot;
                      &quot;type&quot;: &quot;A String&quot;, # Type of the text input
                    },
                  },
                ],
                &quot;label&quot;: &quot;A String&quot;, # Text value describing the intent for the action flow. It can be used as an input label if business needs to pick one of multiple flows. For example: &quot;I disagree with the issue&quot;
              },
            ],
          },
          &quot;buttonLabel&quot;: &quot;A String&quot;, # Label of the action button.
          &quot;externalAction&quot;: { # Action that is implemented and performed outside of the third-party application. It should redirect the business to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center. # Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
            &quot;type&quot;: &quot;A String&quot;, # The type of external action.
            &quot;uri&quot;: &quot;A String&quot;, # URL to external system, for example Merchant Center, where the business can perform the action.
          },
          &quot;isAvailable&quot;: True or False, # Controlling whether the button is active or disabled. The value is &#x27;false&#x27; when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.
          &quot;reasons&quot;: [ # List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
            { # A single reason why the action is not available.
              &quot;action&quot;: # Object with schema name: Action # Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
              &quot;detail&quot;: &quot;A String&quot;, # Detailed explanation of the reason. Should be displayed as a hint if present.
              &quot;message&quot;: &quot;A String&quot;, # Messages summarizing the reason, why the action is not available. For example: &quot;Review requested on Jan 03. Review requests can take a few days to complete.&quot;
            },
          ],
        },
      ],
      &quot;impact&quot;: { # Overall impact of the issue. # Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps business to quickly understand the impact of the issue. The detailed breakdown helps the business to fully understand the impact of the issue. It can be rendered as dialog that opens when the business mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`.
        &quot;breakdowns&quot;: [ # Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.
          { # A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.
            &quot;details&quot;: [ # Human readable, localized description of issue&#x27;s effect on different targets. Should be rendered as a list. For example: * &quot;Products not showing in ads&quot; * &quot;Products not showing organically&quot;
              &quot;A String&quot;,
            ],
            &quot;regions&quot;: [ # Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.
              { # Region with code and localized name.
                &quot;code&quot;: &quot;A String&quot;, # The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
                &quot;name&quot;: &quot;A String&quot;, # The localized name of the region. For region with code=&#x27;001&#x27; the value is &#x27;All countries&#x27; or the equivalent in other languages.
              },
            ],
          },
        ],
        &quot;message&quot;: &quot;A String&quot;, # Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: &quot;Disapproves 90k offers in 25 countries&quot;
        &quot;severity&quot;: &quot;A String&quot;, # The severity of the issue.
      },
      &quot;prerenderedContent&quot;: &quot;A String&quot;, # Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example &#x27;image\_link&#x27; * `segment-literal` - section of the text that contains a special value, for example &#x27;0-1000 kg&#x27; * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example &#x27;?&#x27; or &#x27;i&#x27;. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the &#x27;?&#x27; as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the &#x27;i&#x27; as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.
      &quot;prerenderedOutOfCourtDisputeSettlement&quot;: &quot;A String&quot;, # Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that the business may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for the user to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example &#x27;image\_link&#x27; * `segment-literal` - section of the text that contains a special value, for example &#x27;0-1000 kg&#x27; * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example &#x27;?&#x27; or &#x27;i&#x27;. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the &#x27;?&#x27; as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the &#x27;i&#x27; as an icon.
      &quot;title&quot;: &quot;A String&quot;, # Title of the issue.
    },
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="renderproductissues">renderproductissues(name, body=None, languageCode=None, timeZone=None, x__xgafv=None)</code>
  <pre>Provide a list of issues for business&#x27;s product with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.

Args:
  name: string, Required. The name of the product to fetch issues for. Format: `accounts/{account}/products/{product}` (required)
  body: object, The request body.
    The object takes the form of:

{ # The payload for configuring how the content should be rendered.
  &quot;contentOption&quot;: &quot;A String&quot;, # Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.
  &quot;userInputActionOption&quot;: &quot;A String&quot;, # Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.
}

  languageCode: string, Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize an issue resolution content. If not set, the result will be in default language `en-US`.
  timeZone: string, Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example &#x27;America/Los_Angeles&#x27;. If not set, results will use as a default UTC.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response containing an issue resolution content and actions for listed product issues.
  &quot;renderedIssues&quot;: [ # List of issues for a given product. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.
    { # An issue affecting specific business or their product.
      &quot;actions&quot;: [ # A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when business disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to the business when they expand the issue.
        { # An actionable step that can be executed to solve the issue.
          &quot;builtinSimpleAction&quot;: { # Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue. # Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
            &quot;additionalContent&quot;: { # Long text from external source. # Long text from an external source that should be available to the business. Present when the type is `SHOW_ADDITIONAL_CONTENT`.
              &quot;paragraphs&quot;: [ # Long text organized into paragraphs.
                &quot;A String&quot;,
              ],
              &quot;title&quot;: &quot;A String&quot;, # Title of the additional content;
            },
            &quot;attributeCode&quot;: &quot;A String&quot;, # The attribute that needs to be updated. Present when the type is `EDIT_ITEM_ATTRIBUTE`. This field contains a code for attribute, represented in snake_case. You can find a list of product&#x27;s attributes, with their codes [here](https://support.google.com/merchants/answer/7052112).
            &quot;type&quot;: &quot;A String&quot;, # The type of action that represents a functionality that is expected to be available in third-party application.
          },
          &quot;builtinUserInputAction&quot;: { # Action that is implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business. They can start the action only when they provided all required inputs. The application will request processing of the action by calling the [triggeraction method](https://developers.google.com/merchant/api/reference/rest/issueresolution_v1/issueresolution/triggeraction). # Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
            &quot;actionContext&quot;: &quot;A String&quot;, # Contains the action&#x27;s context that must be included as part of the TriggerActionPayload.action_context in TriggerActionRequest.payload to call the `triggeraction` method. The content should be treated as opaque and must not be modified.
            &quot;flows&quot;: [ # Actions may provide multiple different flows. Business selects one that fits best to their intent. Selecting the flow is the first step in user&#x27;s interaction with the action. It affects what input fields will be available and required and also how the request will be processed.
              { # Flow that can be selected for an action. When a business selects a flow, application should open a dialog with more information and input form.
                &quot;dialogButtonLabel&quot;: &quot;A String&quot;, # Label for the button to trigger the action from the action dialog. For example: &quot;Request review&quot;
                &quot;dialogCallout&quot;: { # An important message that should be highlighted. Usually displayed as a banner. # Important message to be highlighted in the request dialog. For example: &quot;You can only request a review for disagreeing with this issue once. If it&#x27;s not approved, you&#x27;ll need to fix the issue and wait a few days before you can request another review.&quot;
                  &quot;fullMessage&quot;: { # Block of text that may contain a tooltip with more information. # A full message that needs to be shown to the business.
                    &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                    &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                    &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                  },
                  &quot;styleHint&quot;: &quot;A String&quot;, # Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to the business.
                },
                &quot;dialogMessage&quot;: { # Block of text that may contain a tooltip with more information. # Message displayed in the request dialog. For example: &quot;Make sure you&#x27;ve fixed all your country-specific issues. If not, you may have to wait 7 days to request another review&quot;. There may be an more information to be shown in a tooltip.
                  &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                  &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                  &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                },
                &quot;dialogTitle&quot;: &quot;A String&quot;, # Title of the request dialog. For example: &quot;Before you request a review&quot;
                &quot;id&quot;: &quot;A String&quot;, # Not for display but need to be sent back for the selected action flow.
                &quot;inputs&quot;: [ # A list of input fields.
                  { # Input field that needs to be available to the business. If the field is marked as required, then a value needs to be provided for a successful processing of the request.
                    &quot;checkboxInput&quot;: { # Checkbox input allows the business to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). If the business checks the box, the input value for the field is `true`, otherwise it is `false`. This type of input is often used as a confirmation that the business completed required steps before they are allowed to start the action. In such a case, the input field is marked as required and the button to trigger the action should stay disabled until the business checks the box. # Input field to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox).
                    },
                    &quot;choiceInput&quot;: { # Choice input allows the business to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the the business. For example, additional input field can be hidden or disabled until the business selects the specific choice. # Input field to select one of the offered choices. Corresponds to the [html input type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio).
                      &quot;options&quot;: [ # A list of choices. Only one option can be selected.
                        { # A choice that the business can select.
                          &quot;additionalInput&quot;: # Object with schema name: InputField # Input that should be displayed when this option is selected. The additional input will not contain a `ChoiceInput`.
                          &quot;id&quot;: &quot;A String&quot;, # Not for display but need to be sent back for the selected choice option.
                          &quot;label&quot;: { # Block of text that may contain a tooltip with more information. # Short description of the choice option. There may be more information to be shown as a tooltip.
                            &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                            &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                            &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                          },
                        },
                      ],
                    },
                    &quot;id&quot;: &quot;A String&quot;, # Not for display but need to be sent back for the given input field.
                    &quot;label&quot;: { # Block of text that may contain a tooltip with more information. # Input field label. There may be more information to be shown in a tooltip.
                      &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                      &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                      &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                    },
                    &quot;required&quot;: True or False, # Whether the field is required. The action button needs to stay disabled till values for all required fields are provided.
                    &quot;textInput&quot;: { # Text input allows the business to provide a text value. # Input field to provide text information. Corresponds to the [html input type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text) or [html textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea).
                      &quot;additionalInfo&quot;: { # Block of text that may contain a tooltip with more information. # Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
                        &quot;simpleTooltipValue&quot;: &quot;A String&quot;, # Value of the tooltip as a simple text.
                        &quot;simpleValue&quot;: &quot;A String&quot;, # Value of the message as a simple text.
                        &quot;tooltipIconStyle&quot;: &quot;A String&quot;, # The suggested type of an icon for tooltip, if a tooltip is present.
                      },
                      &quot;ariaLabel&quot;: &quot;A String&quot;, # Text to be used as the [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the input.
                      &quot;formatInfo&quot;: &quot;A String&quot;, # Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: &quot;VAT numbers should be in a format similar to SK9999999999&quot;
                      &quot;type&quot;: &quot;A String&quot;, # Type of the text input
                    },
                  },
                ],
                &quot;label&quot;: &quot;A String&quot;, # Text value describing the intent for the action flow. It can be used as an input label if business needs to pick one of multiple flows. For example: &quot;I disagree with the issue&quot;
              },
            ],
          },
          &quot;buttonLabel&quot;: &quot;A String&quot;, # Label of the action button.
          &quot;externalAction&quot;: { # Action that is implemented and performed outside of the third-party application. It should redirect the business to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center. # Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
            &quot;type&quot;: &quot;A String&quot;, # The type of external action.
            &quot;uri&quot;: &quot;A String&quot;, # URL to external system, for example Merchant Center, where the business can perform the action.
          },
          &quot;isAvailable&quot;: True or False, # Controlling whether the button is active or disabled. The value is &#x27;false&#x27; when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.
          &quot;reasons&quot;: [ # List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
            { # A single reason why the action is not available.
              &quot;action&quot;: # Object with schema name: Action # Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
              &quot;detail&quot;: &quot;A String&quot;, # Detailed explanation of the reason. Should be displayed as a hint if present.
              &quot;message&quot;: &quot;A String&quot;, # Messages summarizing the reason, why the action is not available. For example: &quot;Review requested on Jan 03. Review requests can take a few days to complete.&quot;
            },
          ],
        },
      ],
      &quot;impact&quot;: { # Overall impact of the issue. # Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps business to quickly understand the impact of the issue. The detailed breakdown helps the business to fully understand the impact of the issue. It can be rendered as dialog that opens when the business mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`.
        &quot;breakdowns&quot;: [ # Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.
          { # A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.
            &quot;details&quot;: [ # Human readable, localized description of issue&#x27;s effect on different targets. Should be rendered as a list. For example: * &quot;Products not showing in ads&quot; * &quot;Products not showing organically&quot;
              &quot;A String&quot;,
            ],
            &quot;regions&quot;: [ # Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.
              { # Region with code and localized name.
                &quot;code&quot;: &quot;A String&quot;, # The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
                &quot;name&quot;: &quot;A String&quot;, # The localized name of the region. For region with code=&#x27;001&#x27; the value is &#x27;All countries&#x27; or the equivalent in other languages.
              },
            ],
          },
        ],
        &quot;message&quot;: &quot;A String&quot;, # Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: &quot;Disapproves 90k offers in 25 countries&quot;
        &quot;severity&quot;: &quot;A String&quot;, # The severity of the issue.
      },
      &quot;prerenderedContent&quot;: &quot;A String&quot;, # Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example &#x27;image\_link&#x27; * `segment-literal` - section of the text that contains a special value, for example &#x27;0-1000 kg&#x27; * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example &#x27;?&#x27; or &#x27;i&#x27;. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the &#x27;?&#x27; as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the &#x27;i&#x27; as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.
      &quot;prerenderedOutOfCourtDisputeSettlement&quot;: &quot;A String&quot;, # Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that the business may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for the user to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example &#x27;image\_link&#x27; * `segment-literal` - section of the text that contains a special value, for example &#x27;0-1000 kg&#x27; * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example &#x27;?&#x27; or &#x27;i&#x27;. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the &#x27;?&#x27; as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the &#x27;i&#x27; as an icon.
      &quot;title&quot;: &quot;A String&quot;, # Title of the issue.
    },
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="triggeraction">triggeraction(name, body=None, languageCode=None, x__xgafv=None)</code>
  <pre>Start an action. The action can be requested by a business in third-party application. Before the business can request the action, the third-party application needs to show them action specific content and display a user input form. The action can be successfully started only once all `required` inputs are provided. If any `required` input is missing, or invalid value was provided, the service will return 400 error. Validation errors will contain Ids for all problematic field together with translated, human readable error messages that can be shown to the user.

Args:
  name: string, Required. The business&#x27;s account that is triggering the action. Format: `accounts/{account}` (required)
  body: object, The request body.
    The object takes the form of:

{ # The payload for the triggered action.
  &quot;actionContext&quot;: &quot;A String&quot;, # Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.
  &quot;actionInput&quot;: { # Input provided by the business. # Required. Input provided by the business.
    &quot;actionFlowId&quot;: &quot;A String&quot;, # Required. Id of the selected action flow.
    &quot;inputValues&quot;: [ # Required. Values for input fields.
      { # Input provided by the business for input field.
        &quot;checkboxInputValue&quot;: { # Value for checkbox input field. # Value for checkbox input field.
          &quot;value&quot;: True or False, # Required. True if the business checked the box field. False otherwise.
        },
        &quot;choiceInputValue&quot;: { # Value for choice input field. # Value for choice input field.
          &quot;choiceInputOptionId&quot;: &quot;A String&quot;, # Required. Id of the option that was selected by the business.
        },
        &quot;inputFieldId&quot;: &quot;A String&quot;, # Required. Id of the corresponding input field.
        &quot;textInputValue&quot;: { # Value for text input field. # Value for text input field.
          &quot;value&quot;: &quot;A String&quot;, # Required. Text provided by the business.
        },
      },
    ],
  },
}

  languageCode: string, Optional. Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) used to localize the response. If not set, the result will be in default language `en-US`.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response informing about the started action.
  &quot;message&quot;: &quot;A String&quot;, # The message for the business.
}</pre>
</div>

</body></html>